﻿using System;
using System.Runtime.Serialization;
namespace CrmField.Plugins
{
    [DataContract]
    public class OAuthToken
    {
        [DataMember(Name = "access_token")]
        public string AccessToken { get; set; }
        [DataMember(Name = "token_type")]
        public string TokenType { get; set; }
    }

    public interface IWNSClient
    {
        string PostToWns(string secret, string sid, string uri, string xml, string notificationType, string contentType);
    }
}
